package com.bajie.bjlisten.enums;

/**
 * 是否是菜单枚举
 */
public enum MenuOrNotEnum implements BaseEnum {
    YES(0, "是菜单"),
    NO(1, "非菜单");

    private Integer value;
    private String desc;

    MenuOrNotEnum(Integer code, String desc) {
        this.value = code;
        this.desc = desc;

    }

    @Override
    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }

}
